#!/bin/bash

for i in $( ls *.vm )
do
  rm $i
done

for i in $( ls *.vn )
do
  vnfile=$i
  vmfile=$( echo $i | sed -e "s/vn/vm/" )
  ./threshold ./$vnfile ./$vmfile 22
done

